package com.jbp.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jbp.model.PrizePoolEntity;
import com.jbp.model.WalletRecord;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 钱包变动记录(WalletRecord)表数据库访问层
 * @author cc
 * @since 2020-06-20 09:43:00
 */
public interface WalletRecordDao extends BaseMapper<WalletRecord> {

    List<WalletRecord> regalList(Map<String, Object> params);

    List<WalletRecord> hd5();

    List<PrizePoolEntity> prizePoolRank(Map<String, Object> params);

    BigDecimal getChangeBalance(Integer userId);
}
